package com.ttg.web.dao.Impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ttg.common.entities.BasePage;
import com.ttg.model.mapper.PeopleHistoryMapper;
import com.ttg.model.pojo.PeopleHistory;
import com.ttg.model.vo.PeopleHistoryVo;
import com.ttg.web.dao.PeopleHistoryDao;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

@Service
public class PeopleHistoryDaoImpl extends ServiceImpl<PeopleHistoryMapper, PeopleHistory> implements PeopleHistoryDao{
    @Override
    public BasePage<PeopleHistoryVo> getHistoryList(BasePage<PeopleHistoryVo> page, Integer pepId, Integer hisStatus, LocalDateTime startTime, LocalDateTime endTime) {
        return baseMapper.getHistoryList(page,pepId,hisStatus,startTime,endTime);
    }
}
